package com.xiguanlezz.cn.server.codec;

import com.xiguanlezz.cn.common.ResponseMessage;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder;
import io.netty.handler.codec.MessageToMessageEncoder;

import java.util.List;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/10/17 00:07
 * @Description：将业务的Java对象转为ByteBuf的编码器
 */
public class OrderProtocolEncoder2 extends MessageToByteEncoder<ResponseMessage> {
    @Override
    protected void encode(ChannelHandlerContext ctx, ResponseMessage responseMessage, ByteBuf byteBuf) throws Exception {

    }
}